﻿#include <QCoreApplication>
#include <qdebug.h>
#include "LinkedList/linkedlist.h"
#include "LinkedList/doublylinkedlist.h"
#include "BinaryTree/binarytree.h"
#include "Search/search.h"
#include "datastructure.h"
#include "Sort/sort.h"

//#define LinkedList
//#define DoublyLinkedList

//#define BinaryTree
#define BinarySortTree

//#define Search
//#define Stack
//#define Sort


int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

#ifdef LinkedList
    LinkedListTest();
#endif

#ifdef DoublyLinkedList
    DoublyLinkedListNodeTest();
#endif

#ifdef BinaryTree
    BinaryTreeTest();
#endif

#ifdef Search
    SearchTest();
#endif

#ifdef Stack
    StackTest();
#endif

#ifdef Sort
    SortTest();
#endif

#ifdef BinarySortTree
    BinarySortTreeTest();
#endif

    exit(0);
    return a.exec();
}
